package is.ru.honn.rupin.service;

import is.ru.honn.rupin.domain.*;

import java.util.List;

public interface PinService {
    public Board getBoard(String username, String boardname);


    public List<Board> getBoards(String username);

    public Board createBoard(String username, String boardname,
                             String category)
            throws UserNotFoundException;

    public Pin createPin(String username, String boardname,
                         String description, String link, String image)
            throws BoardNotFoundException;

    public List<Pin> getPinsOnBoard(String boardname, String username);

    public List<Pin> getFollowersPins(String followername);


}
